package org.bigmarketapi.gatewaycenter.domain.manage.repository;

import org.bigmarketapi.gatewaycenter.domain.manage.model.vo.GwServerDetailVO;
import org.bigmarketapi.gatewaycenter.domain.manage.model.vo.GwServerVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dujiaqi
 */
@Repository
public interface ImanageRepository {
     List<GwServerVO> queryGatewayServerLIst();
     public boolean registerGatewayServerNode(String groupId, String gatewayId, String gatewayName, String gatewayAddress, Integer available);
     public GwServerDetailVO queryGatewayServerDetail(String gatewayId, String gatewayAddress);
     public boolean updateGatewayStatus(String gatewayId, String gatewayAddress, Integer available);

}
